This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 52
chore(deps): update dependency sharp to >= 0.32.6 [security] - autoclosed #671
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svc-secops
added
dependencies
Pull requests that update a dependency file
vulnerability
labels
Dec 19, 2023
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json
|
❌ Deploy Preview for apollo-monodocs failed.
|
This update requires moving to Gatsby v5 |
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
December 21, 2023 13:14
d806c51
to
c0acf2c
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
6 times, most recently
from
January 10, 2024 13:04
167336d
to
1d25082
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
4 times, most recently
from
January 17, 2024 13:02
f7948a4
to
996169e
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
5 times, most recently
from
January 26, 2024 12:55
2c77ba9
to
368c72d
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
4 times, most recently
from
February 8, 2024 12:37
cd6f441
to
0ce237f
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
4 times, most recently
from
February 17, 2024 12:24
9b2b747
to
f482b77
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
2 times, most recently
from
May 1, 2024 11:51
b7b93cd
to
1752d63
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
2 times, most recently
from
May 9, 2024 12:42
9a3ce09
to
cbe23d1
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
May 11, 2024 11:54
cbe23d1
to
83db8c6
Compare
|
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
3 times, most recently
from
May 22, 2024 11:21
8ea9833
to
f85226f
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
4 times, most recently
from
May 30, 2024 11:36
1d2b392
to
a2e0fe4
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
5 times, most recently
from
June 7, 2024 12:16
40f583a
to
9776326
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
5 times, most recently
from
June 14, 2024 12:46
3726655
to
d845cfc
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
June 21, 2024 12:35
d845cfc
to
a7b81ea
Compare
svc-secops
force-pushed
the
renovate/npm-sharp-vulnerability
branch
from
June 22, 2024 11:11
a7b81ea
to
d4ebb24
Compare
svc-secops
changed the title
chore(deps): update dependency sharp to 0.32.6 [security]
chore(deps): update dependency sharp to >= 0.32.6 [security]
Jun 25, 2024
svc-secops
changed the title
chore(deps): update dependency sharp to >= 0.32.6 [security]
chore(deps): update dependency sharp to >= 0.32.6 [security] - autoclosed
Sep 12, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.29.3
->>= 0.32.6
](https://renovatebot.com/diffs/npm/sharp/0.29.3/>= 0.32.6)GitHub Vulnerability Alerts
CVE-2022-29256
There's a possible vulnerability in logic that is run only at
npm install
time when installing versions ofsharp
prior to the latest v0.30.5.This is not part of any runtime code, does not affect Windows users at all, and is unlikely to affect anyone that already cares about the security of their build environment. However, out of an abundance of caution, I've created this advisory.
If an attacker has the ability to set the value of the
PKG_CONFIG_PATH
environment variable in a build environment then they might be able to use this to inject an arbitrary command atnpm install
time.I've used the Common Vulnerability Scoring System (CVSS) calculator to determine the maximum possible impact, which suggests a "medium" score of 5.9, but for most people the real impact will be dealing with the noise from automated security tooling that this advisory will bring.
AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C/CR:X/IR:X/AR:X/MAV:X/MAC:X/MPR:X/MUI:R/MS:X/MC:X/MI:X/MA:X
This problem was fixed in commit a6aeef6 and published as part of
sharp
v0.30.5.Thank you very much to @dwisiswant0 for the responsible disclosure.
Remember: if an attacker has control over environment variables in your build environment then you have a bigger problem to deal with than this issue.
GHSA-54xq-cgqr-rpm3
Overview
sharp uses libwebp to decode WebP images and versions prior to the latest 0.32.6 are vulnerable to the high severity GHSA-j7hp-h8jx-5ppr.
Who does this affect?
Almost anyone processing untrusted input with versions of sharp prior to 0.32.6.
How to resolve this?
Using prebuilt binaries provided by sharp?
Most people rely on the prebuilt binaries provided by sharp.
Please upgrade sharp to the latest 0.32.6, which provides libwebp 1.3.2.
Using a globally-installed libvips?
Please ensure you are using the latest libwebp 1.3.2.
Possible workaround
Add the following to your code to prevent sharp from decoding WebP images.
Configuration
📅 Schedule: Branch creation - "" in timezone Etc/UTC, Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.